package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.entity.NursingPlan;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HulidengjiMapper  {


    Page<NursingLevel> fneye(NursingLevelDto dto);

    List<NursingLevel> search(NursingLevelDto dto);

    NursingLevel getById(Long id);


    @Delete("delete from nursing_level where id=#{id}")
    void delete(Long id);


    void insert(NursingLevel nursingLevel);

    void update(NursingLevel nl);
}
